protected static function lookupNumeric(array $list, $branchCode) { $branchCode = intval($branchCode); if (in_array($branchCode, $list)) { return true; } return static::lookupRanges($list, $branchCode); }