3 points by abhin4v
finix has conditions that would allow something similar https://finit-project.github.io/5.x/conditions/
conditions