isActive method could give NullPointerException

A pump with an empty "block list" would cause NullPointerException if
isActive was called.