Digital Input

Is there a way with a Mikrotik router to monitor a contact closure?