C# dynamic判断是否有某个属性

if(((IDictionary<string, object>)data).ContainsKey(propertyname))
{
    //包含此属性
}