'Check if the snapVx feature is licensed and enabled.
:param array: the array serial number
:returns: True if licensed and enabled; False otherwise.'

def is_snapvx_licensed(self, array):

    snap_capability = False
    capabilities = self.get_replication_capabilities(array)
    if capabilities:
        snap_capability = capabilities['snapVxCapable']
    else:
        LOG.error('Cannot    access    replication    capabilities    for    array    %(array)s', {'array': array})
    return snap_capability
