check if bindAttributes is defined in listeners