IsInPan
Determines whether a given input is a valid PAN (Permanent Account Number).
This class extends the Function class and provides a method to check if a given input is a valid PAN. The implementation follows the specified validation rules.
The IsInPan class is meant to be instantiated and used to validate PAN numbers. It inherits common functionality from the Function base class.