def initialized(machine):
    """
    Check to see if the given machine is initialized.

    :param machine: Machine to check to see if default attributes are set
    :return: `True` if the machine has its attributes set, `False` otherwise
    """
    return all(hasattr(machine, attr) for attr in ('state', 'transition', 'transition_event'))