original_string: protected function resolved($obj)
  	{
  		if( ! is_object($obj) )
  		{
  			return true;
  		}
  
  		$data = get_object_vars($obj);
  		if( count($data) == 2
  			&& array_key_exists('id', $data)
  			&& array_key_exists('type', $data)
  		)
  		{
  			return false;
  		}
  
  		return true;
  	}
code: protected function resolved($obj)
  	{
  		if( ! is_object($obj) )
  		{
  			return true;
  		}
  
  		$data = get_object_vars($obj);
  		if( count($data) == 2
  			&& array_key_exists('id', $data)
  			&& array_key_exists('type', $data)
  		)
  		{
  			return false;
  		}
  
  		return true;
  	}
code_tokens: protected function resolved ( $ obj ) { if ( ! is_object ( $ obj ) ) { return true ; } $ data = get_object_vars ( $ obj ) ; if ( count ( $ data ) == 2 && array_key_exists ( 'id' , $ data ) && array_key_exists ( 'type' , $ data ) ) { return false ; } return true ; }
docstring: Check if object is resolved
  
  @param stdClass $obj object to check
  
  @return boolean
docstring_tokens: Check if object is resolved