open fun hasSceneMode(mode: String!): Boolean
Check if the current state has scene mode is available.
mode - String!: scene mode.
mode
Return Boolean: return the accepted mode, it can be the same as requested or a supported fallback mode.