added isCallback method, list of nullOr* methods in phpdoc