Checks if linear function is valid, i.e. if k != 0
true if function is valid, false otherwise
See Implementation
Checks if linear function is valid, i.e. if k != 0