'Checks the availability of a cluster API.
Returns True if the specified cluster API exists and may be called by
the current user. The API is *called* on Data ONTAP versions prior to
8.2, while versions starting with 8.2 utilize an API designed for
this purpose.'

def check_cluster_api(self, object_name, operation_name, api):

    if (not self.features.USER_CAPABILITY_LIST):
        return self._check_cluster_api_legacy(api)
    else:
        return self._check_cluster_api(object_name, operation_name, api)
