code/libraries/joomlatools/library/object/queue.php
public function contains(KObjectHandlable $object)
    {
        $result = false;

        if($handle = $object->getHandle()) {
            $result = $this->__object_list->offsetExists($handle);
        }

        return $result;
    }
public function contains(KObjectHandlable $object)
    {
        $result = false;

        if($handle = $object->getHandle()) {
            $result = $this->__object_list->offsetExists($handle);
        }

        return $result;
    }
public function contains ( KObjectHandlable $ object ) { $ result = false ; if ( $ handle = $ object -> getHandle ( ) ) { $ result = $ this -> __object_list -> offsetExists ( $ handle ) ; } return $ result ; }
Check if the queue contains a given object

@param KObjectHandlable $object
@return bool
Check if the queue contains a given object