parameters: (self, mission_type: MissionType, target: Target)
return_statement: return self.type == mission_type and self.target == target
docstring: Check if fleet has specified mission_type and target.
docstring_summary: Check if fleet has specified mission_type and target.
docstring_tokens: Check if fleet has specified mission_type and target .
function: def has_target(self, mission_type: MissionType, target: Target) -> bool:
          """
          Check if fleet has specified mission_type and target.
          """
          return self.type == mission_type and self.target == target
function_tokens: def has_target ( self , mission_type : MissionType , target : Target ) -> bool : return self . type == mission_type and self . target == target