original_string: public function validate()
  	{
  		try
  		{
  			Yaml\Yaml::parse($this->data);
  
  		} catch(\Exception $e)
  		{
  			return false;
  		}
  
  		return true;
  	}
code: public function validate()
  	{
  		try
  		{
  			Yaml\Yaml::parse($this->data);
  
  		} catch(\Exception $e)
  		{
  			return false;
  		}
  
  		return true;
  	}
code_tokens: public function validate ( ) { try { Yaml \ Yaml :: parse ( $ this -> data ) ; } catch ( \ Exception $ e ) { return false ; } return true ; }
docstring: Validates a Yaml string
  
  @return Boolean
  @author Dan Cox
docstring_tokens: Validates a Yaml string