<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def inquire(self, name=True, lifetime=True, usage=True, mechs=True):
 """Inspect these credentials for information This method inspects these credentials for information about them. Args: name (bool):
 get the name associated with the credentials lifetime (bool):
 get the remaining lifetime for the credentials usage (bool):
 get the usage for the credentials mechs (bool):
 get the mechanisms associated with the credentials Returns: InquireCredResult: the information about the credentials, with None used when the corresponding argument was False Raises: MissingCredentialsError InvalidCredentialsError ExpiredCredentialsError """


        res = rcreds.inquire_cred(self, name, lifetime, usage, mechs)

        if res.name is not None:
            res_name = names.Name(res.name)
        else:
            res_name = None

        return tuples.InquireCredResult(res_name, res.lifetime,
                                        res.usage, res.mechs)