Check for style and js enqueue functions before loading them to avoid conflicts with child themes.