Programmatically check whether Residency Status (RAS) Authorisation is Done or Due