Add method to check if a mixin is present

Signed-off-by: Ian Macalinao <me@ian.pw>