A Correlation-Based Method to Detect Weak Dependence