pub fn check_capacity_valid_for_asset(capacity: Capacity) -> Result<()>
Whether the specified value is a valid capacity for an asset