/**
  * Check if reference tablename matched.
  *
  * @param Table   $table      The reference table
  * @param string  $tablename  The table name
  * @return bool
  */
 protected function checkReferenceTableName($table, $tablename)
 {
     return $table && $table->getRawTableName() === $tablename ? true : false;
 }