Checks if this Record EQUALS equal given prefix
prefix
bool equalsPrefix(String p) => this.prefix == p;