Peter is using a logic probe to check whether an input is present.