public function hasChallenge()
    {

        return (isset($this->packets[self::PACKET_CHALLENGE]) && !empty($this->packets[self::PACKET_CHALLENGE]));
    }
public function hasChallenge()
    {

        return (isset($this->packets[self::PACKET_CHALLENGE]) && !empty($this->packets[self::PACKET_CHALLENGE]));
    }
public function hasChallenge ( ) { return ( isset ( $ this -> packets [ self :: PACKET_CHALLENGE ] ) && ! empty ( $ this -> packets [ self :: PACKET_CHALLENGE ] ) ) ; }
Determine whether or not this protocol has a challenge needed before querying

@return bool
Determine whether or not this protocol has a challenge needed before querying