def METHOD_NAME(self, key: str) -> Optional["MachineAction"]:
    """Get MachineAction by key
    :param key: String of key to select
    :return: Machine action if found, None otherwise
    """
    if key in self._machine_actions:
        return self._machine_actions[key]
    else:
        return None