pub fn is_mixed_case(s: &str, is_fn: bool, allowed_patterns: &[String]) -> bool
Checks if a string is mixedCase.
To avoid false positives like fn increment() or uint256 counter, lowercase strings are treated as mixedCase.
fn increment()
uint256 counter