There are no details of what she does with the info, so sounds like magic to me. Either she's naturally really good at classroom management, and this is her unique tool, or she should immediately quit and right a detailed manual/book outlining her methods so that others can implement them.
It's a great idea to help teachers identify if a student is isolated. How they use that information is another story, but shouldn't take magic.