<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _machine_fqdn(machine):
 """Returns the FQDN of the given learning machine. """

    from acorn.logging.decoration import _fqdn
    if hasattr(machine, "__class__"):
        return _fqdn(machine.__class__, False)
    else: # pragma: no cover
        #See what FQDN can get out of the class instance.
        return _fqdn(machine)