check if listener is fn