category isset function inplemented