'Check if a volume has been failed over.
:param volume: the volume object
:returns: bool'

@staticmethod
def is_volume_failed_over(volume):

    if (volume is not None):
        if (volume.get('replication_status') and (volume.replication_status == fields.ReplicationStatus.FAILED_OVER)):
            return True
    return False
