def METHOD_NAME(self, location):
    try:
        response = self.ipa_command(
            "automountlocation_show", location, {}
        )
    except ipalib_errors.NotFound:
        return None
    else:
        return response.get("result", None)