Check dependencies