Validates that a double is positive
static bool isPositiveDouble(double? value) { return value != null && value > 0; }