def has_credential(self):
if self._credential is None:<EOL><INDENT>return False<EOL><DEDENT>else:<EOL><INDENT>return True<EOL><DEDENT>
Tests if this authentication has a credential for export.

        return: (boolean) - ``true`` if this authentication has a
                credential, ``false`` otherwise
        *compliance: mandatory -- This method must be implemented.*