public function searchOffenders($searchType, $searchStr)
 {
     $offenders = Offender::where($searchType, 'LIKE', $searchStr)->get();
     if ($offenders) {
         return $offenders;
     }
     return null;
 }
 public function checkIfExists(Request $request)
 {
     $data = $request->all();
     if (Offender::where('offenderId', '=', $data['offenderId'])->exists()) {
         return "false";
     }
     return "true";
 }