public function contains(AnObjectHandlable $object)
    {
        $result = false;

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

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

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

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

@param  AnObjectHandlable $object
@return bool
@throws  InvalidArgumentException if the object doesn't implement AnObjectHandlable
Check if the queue does contain a given object