QuantityQ
QuantityQ[expr] gives True if expr is a Quantity with valid arguments, and False otherwise.
QuantityQ[expr, dims]givesTrueif expr is aQuantitywith physical dimensions dims, andFalseotherwise.
Examples
QuantityQ[Quantity[5, "Meters"]]Please visit the official Wolfram Language Reference for more details.