Use empty() instead of === false for  check. #2054