Replace || with //

I replaced the original boolean or || with the logical-defined or //. This is more appropriate as originally this is what I was trying to implement. In each of these cases, I attempt to check whether these items are defined. The // operator does just that.