code: public static boolean isItMobilePhone(String phone, boolean rigidRules) {
          String temp = filterNumbers(phone);
          Pattern p = Pattern.compile(rigidRules ? PHONE_REGEX : PHONE_REGEX);
          Matcher m = p.matcher(temp);
          return m.matches();
      }
docs: 正则检测字符串是否为手机号码
  
  @param phone      手机号码
  @param rigidRules 是否用严格的规则进行号码验证