Simplify if conditions
Simplify if conditions

Before:
  if (cond1 [&& cond2])
    return (cond3)
  else
    return false;

Now:
  return (cond1 [&& cond2] && cond3)

drmateo/pcl,drmateo/pcl,drmateo/pcl,drmateo/pcl,drmateo/pcl