'Given an RPC API class determine if the service is upgrading.'

@staticmethod
def is_svc_upgrading_to_n(binary):

    rpcapis = {'cinder-scheduler': scheduler_rpcapi.SchedulerAPI, 'cinder-volume': volume_rpcapi.VolumeAPI, 'cinder-backup': backup_rpcapi.BackupAPI}
    rpc_api = rpcapis[binary]
    return (rpc_api.determine_obj_version_cap() == '1.3')
