Changing defined? to be a function, and documenting it.