Is Visible hook

Use this hook to remove the standard menu item from the menu.

Example:

function boolean menu.tcemm00005001.is.visible()
{
|* Use this hook to remove the menu item from the 
|* menu. You can do that based on conditions. To 
|* remove it, let the function return the value 
|* false.
        select  txcom001.*
        from    txcom001
        where   txcom001.user = :logname$
        and  tccom001.shem = tcyesno.yes
        as set with 1 rows
        selectdo
                return(true)
        endselect
        return(false)
}