original_string: private function passes_key_validation($status, $messageid) {
          // The validation result is tested in a bitwise operation.
          if ((
              $status & ~ \core\message\inbound\address_manager::VALIDATION_SUCCESS
                      & ~ \core\message\inbound\address_manager::VALIDATION_UNKNOWN_DATAKEY
                      & ~ \core\message\inbound\address_manager::VALIDATION_EXPIRED_DATAKEY
                      & ~ \core\message\inbound\address_manager::VALIDATION_INVALID_HASH
                      & ~ \core\message\inbound\address_manager::VALIDATION_ADDRESS_MISMATCH) !== 0) {
  
              // One of the above bits was found in the status - fail the validation.
              return false;
          }
          return true;
      }
code: private function passes_key_validation($status, $messageid) {
          // The validation result is tested in a bitwise operation.
          if ((
              $status & ~ \core\message\inbound\address_manager::VALIDATION_SUCCESS
                      & ~ \core\message\inbound\address_manager::VALIDATION_UNKNOWN_DATAKEY
                      & ~ \core\message\inbound\address_manager::VALIDATION_EXPIRED_DATAKEY
                      & ~ \core\message\inbound\address_manager::VALIDATION_INVALID_HASH
                      & ~ \core\message\inbound\address_manager::VALIDATION_ADDRESS_MISMATCH) !== 0) {
  
              // One of the above bits was found in the status - fail the validation.
              return false;
          }
          return true;
      }
code_tokens: private function passes_key_validation ( $ status , $ messageid ) { // The validation result is tested in a bitwise operation. if ( ( $ status & ~ \ core \ message \ inbound \ address_manager :: VALIDATION_SUCCESS & ~ \ core \ message \ inbound \ address_manager :: VALIDATION_UNKNOWN_DATAKEY & ~ \ core \ message \ inbound \ address_manager :: VALIDATION_EXPIRED_DATAKEY & ~ \ core \ message \ inbound \ address_manager :: VALIDATION_INVALID_HASH & ~ \ core \ message \ inbound \ address_manager :: VALIDATION_ADDRESS_MISMATCH ) !== 0 ) { // One of the above bits was found in the status - fail the validation. return false ; } return true ; }
docstring: Check whether the key provided is valid.
  
  @param bool $status
  @param mixed $messageid The Hore message Uid
  @return bool
docstring_tokens: Check whether the key provided is valid .