Refactor condition expression in Resource.load()
Refactor condition expression in Resource.load()

Even I get confused by this code, and I wrote it.

Change-Id: I055b7a51de6f1e8c380c52d43233d3d0c3abb0ea

noironetworks/heat,openstack/heat,noironetworks/heat,openstack/heat