original_string: public function isValid($json=null) {
  			if (empty($json) || ctype_space($json)) return false;
  			json_decode($json);
  			return (json_last_error() === JSON_ERROR_NONE);
  		}
code: public function isValid($json=null) {
  			if (empty($json) || ctype_space($json)) return false;
  			json_decode($json);
  			return (json_last_error() === JSON_ERROR_NONE);
  		}
code_tokens: public function isValid ( $ json = null ) { if ( empty ( $ json ) || ctype_space ( $ json ) ) return false ; json_decode ( $ json ) ; return ( json_last_error ( ) === JSON_ERROR_NONE ) ; }
docstring: Determine is valid json or not
  
  @param json is the json string
  
  @return bool
docstring_tokens: Determine is valid json or not