validDistanceSpecification function

(Internal) Validate that objects are valid distance specifications.