Add isBeacon(peripheral) function

A an is Beacon function to know if peripheral is a Beacon or not.