Helper function which validate aadhar number is valid or not with PHP, this will not require any API, this is totally off-line validation.