nfsd4: add a helper function to decide if stateid is delegation