About AArch64's immediate composing

Hello,

Is there a simple way to check if an immediate can be simply composed by a single MOVZ or MOVN?

Or check an immediate must be composed via at least two instructions?

I find helper functions such as isLegalAddImmediate, isLogicalImmediate, is there similar helpers for MOVZ/MOVN ?

Ben