hasConstant() public method

Does this class have the specified constant?
public hasConstant ( string $name ) : boolean
$name string
return boolean
 /**
  * {@inheritDoc}
  */
 public function hasConstant($name)
 {
     return $this->betterReflectionClass->hasConstant($name);
 }