code: public static KsDef getKeySpaceDef(String keyspaceName, List<KsDef> keyspaces)
      {
          keyspaceName = keyspaceName.toUpperCase();
  
          for (KsDef ksDef : keyspaces)
          {
              if (ksDef.name.toUpperCase().equals(keyspaceName))
                  return ksDef;
          }
  
          return null;
      }
docs: Parse the statement from cli and return KsDef
  
  @param keyspaceName - name of the keyspace to lookup
  @param keyspaces - List of known keyspaces
  
  @return metadata about keyspace or null