phpQuery function exists checks