check whether target scope contains module-based targets only