KnownUnitQ
KnownUnitQ[expr] returns True if expr is a canonical unit, and False otherwise.
KnownUnitQ[expr,dims] gives True if expr is a canonical unit with physical dimensions dims, and False otherwise.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.