def check_Mounts(selected_mountpoint_list, mountpoint_list1):
    """Service Layer to check mounts if selected mount is present in provided mountpoints or no"""
    selected_mountpoint = []
    mountpoints_provided = []
    for item in selected_mountpoint_list:
        selected_mountpoint.append(item['mount_name'])
    for item in mountpoint_list1:
        mountpoints_provided.append(item['mount_name'])
    for i in selected_mountpoint:
        for j in mountpoints_provided:
            if i == j:
                return {'key': 'success', 'message':
                    'Selected Mount type present in MountTypes provided'}
            else:
                return {'key': 'error', 'message':
                    'Selected Mount type not present in MountTypes provided'}
