Checking for ptys.