isActive method can give NullPointerException

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