protected function conforms_to_caps_policy( Token $token, $policy ) {
		return $this->check_policy(
			$token,
			$policy,
			self::ALLOW_ALL_CAPS,
			self::REQUIRE_ALL_CAPS,
			self::NO_ALL_CAPS,
			$this->current_strtoupper
		);
	}
protected function conforms_to_caps_policy( Token $token, $policy ) {
		return $this->check_policy(
			$token,
			$policy,
			self::ALLOW_ALL_CAPS,
			self::REQUIRE_ALL_CAPS,
			self::NO_ALL_CAPS,
			$this->current_strtoupper
		);
	}
protected function conforms_to_caps_policy ( Token $ token , $ policy ) { return $ this -> check_policy ( $ token , $ policy , self :: ALLOW_ALL_CAPS , self :: REQUIRE_ALL_CAPS , self :: NO_ALL_CAPS , $ this -> current_strtoupper ) ; }
Check if the value of the token conforms to the given policy for all-caps words.

@param  Token $token  Required.
@param  int   $policy Either ALLOW_ALL_CAPS, REQUIRE_ALL_CAPS or NO_ALL_CAPS.

@return bool
Check if the value of the token conforms to the given policy for all - caps words .