code: protected function isNumericInBounds(float $value, float $lower, float $upper): bool
      {
          return !($value < $lower || $value > $upper);
      }
docs: Checks if the given value is (1) numeric, and (2) between lower
  and upper bounds (including the bounds values).
  
  @param float $value
  @param float $lower
  @param float $upper
  
  @return bool