(B) If the person is a foreign national, the keeper of the jail or other officer shall make a reasonable effort to verify that the prisoner has been lawfully admitted to the United States and, if lawfully admitted, that the lawful status has not expired.