Detect resource pack from datapack

Is there a way to detect from a datapack if a resource pack is installed ?

Continue to help post