export type HasProperty = K extends keyof T ? true : false;