This can be done as
if node['php']['use_atomic_repo'] && platform_family?('rhel')