'Checks if broadcast is currently allowed on this port.
@return: Whether this port may broadcast.
@rtype: L{bool}'

def getBroadcastAllowed(self):

    return operator.truth(self.socket.getsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST))
