code: def _get_command_by_name(self, blueprint, name):
          
          commands = self._get_commands_by_name(blueprint, name)
  
          if len(commands):
              return commands[0]
docs: Get the primary key command it it exists.