node['hbase'].key?('hbase_site') will always be true at this point and can be left out of the if