private function checkProperty($property = self::LOGIN_PROPERTY, $strict = false)
    {
        if (!isset($this->properties[$property])) {
            if ($strict) {
                throw new \LogicException(sprintf(
                    'Cannot get property "%s"!',
                    $property
                ));
            }

            return false;
        }

        return true;
    }
private function checkProperty($property = self::LOGIN_PROPERTY, $strict = false)
    {
        if (!isset($this->properties[$property])) {
            if ($strict) {
                throw new \LogicException(sprintf(
                    'Cannot get property "%s"!',
                    $property
                ));
            }

            return false;
        }

        return true;
    }
private function checkProperty ( $ property = self :: LOGIN_PROPERTY , $ strict = false ) { if ( ! isset ( $ this -> properties [ $ property ] ) ) { if ( $ strict ) { throw new \ LogicException ( sprintf ( 'Cannot get property "%s"!' , $ property ) ) ; } return false ; } return true ; }
Validates a property.

@param string $property
@param bool   $strict

@return bool
Validates a property .